const runtime.pallocChunkBytes
13 uses
runtime (current package)
mgcscavenge.go#L1113: newSearchAddr := chunkBase(i) + pallocChunkBytes - pageSize
mheap.go#L30: maxPhysHugePageSize = pallocChunkBytes
mpagealloc.go#L59: pallocChunkBytes = pallocChunkPages * pageSize
mpagealloc.go#L107: return chunkIdx((p - arenaBaseOffset) / pallocChunkBytes)
mpagealloc.go#L112: return uintptr(ci)*pallocChunkBytes + arenaBaseOffset
mpagealloc.go#L118: return uint(p % pallocChunkBytes / pageSize)
mpagealloc.go#L362: limit := alignUp(base+size, pallocChunkBytes)
mpagealloc.go#L363: base = alignDown(base, pallocChunkBytes)
mpagealloc_64bit.go#L101: if base%pallocChunkBytes != 0 || limit%pallocChunkBytes != 0 {
mpagealloc_64bit.go#L192: if base%pallocChunkBytes != 0 || limit%pallocChunkBytes != 0 {
mpagealloc_64bit.go#L252: n := uintptr(1<<heapAddrBits) / pallocChunkBytes
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |